<?php
namespace Admin\Controller;
class TestController extends AdminBaseController {

    public function add(){
        if(IS_POST){
            $data = I('post.data');
            $this->_addData('Test',$data);
        }else{
            $this->_display('add','增加');
        }
    }

}